extends "../shentong-3/shentong-3.gd"


var baseId = ""
var upText1 = "狩猎标记额外获得2层<速攻>"
var upText2 = "狩猎标记额外赋予2层<破甲>"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("每次炮击有概率召唤一名继承自身全部装备、属性的镜像", "两手准备")

var p4 = 20
func _onNormalAtk(cha):
	if not is_instance_valid(cha):return
	._onNormalAtk(cha)
	if sys.rndPer(p4):
		p4 = max(5, p4 - 2)
		lszb()

func lszb():
	var cha = summChara("shentong-mirror", true)
	cha.summoner = self
	cha.fromJson(toJson(), false)

func _onBattleEnd():
	._onBattleEnd()	
	p4 = 22